Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

318
Views
translation for word "month", "day" and "year" using date-fn

I'm trying to use date-fns (https://www.npmjs.com/package/date-fns) to retrieve the translations for the word "month", "day" and "year". I don't want the translations for the name of the months, I want the translations for the word itself "month".

Is this possible? Or does this package not provide it?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Look into this: https://github.com/date-fns/date-fns/blob/master/src/locale/en-US/_lib/formatDistance/index.ts#L43

And into https://github.com/date-fns/date-fns/blob/master/docs/i18nContributionGuide.md for information how to do it.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!